Vue.component('supervision-details', {
    props: ['detail', 'link'],
    data: function () {
        return {
            formDisabled: true
        }
    },
    template: '<el-row type="flex" justify="center" style="margin-top: 25px;">\n' +
        '                                       <el-col :span="15">\n' +
        '                                        <el-form :model="detail" :rules="rules" ref="detail" >\n' +
        '                                           <el-row>\n' +
        '                                                <el-col :span="8" class="tab-title">\n' +
        '                                                    监管事项清单详情\n' +
        '                                                </el-col>\n' +
        '                                            </el-row>\n' +
        '                                           <el-row>\n' +
        '                                                <el-col>\n' +
        '                                                    <el-form-item label="监管事项编号:"  prop="" label-width="140px"> \n' +
        '                                                        <el-input v-model="detail.supervisionNumber"  placeholder="" :disabled="formDisabled"></el-input>\n' +
        '                                                    </el-form-item>\n' +
        '                                                </el-col>\n' +
        '                                            </el-row>\n' +
        '                                           <el-row>\n' +
        '                                                <el-col >\n' +
        '                                                    <el-form-item label="监管事项名称:" prop="" label-width="140px"> \n' +
        '                                                        <el-input v-model="detail.supervisionName"  placeholder="" :disabled="formDisabled"></el-input>\n' +
        '                                                    </el-form-item>\n' +
        '                                                </el-col>\n' +
        '                                            </el-row>\n' +
        '                                           <el-row  >\n' +
        '                                                 <el-col :span="12">\n' +
        '                                                     <el-form-item label="对应许可事项名称:" prop="" label-width="140px"> \n' +
        '                                                         <el-input v-model="detail.permitName"  placeholder="" :disabled="formDisabled"></el-input>\n' +
        '                                                     </el-form-item>\n' +
        '                                                 </el-col>\n' +
        '                                                 <el-col :span="12">\n' +
        '                                                     <el-form-item label="对应许可事项类型:" prop=""  label-width="140px" >\n' +
        '                                                         <el-select v-model="detail.permitType" :disabled="formDisabled" style="width: 100%;">\n' +
        '                                                             <el-option\n' +
        '                                                                     v-for="item in permitTypeList"\n' +
        '                                                                     :key="item.appId"\n' +
        '                                                                     :label="item.dictName"\n' +
        '                                                                     :value="item.dictName"\n' +
        '                                                             ></el-option>\n' +
        '                                                         </el-select>\n' +
        '                                                     </el-form-item>\n' +
        '                                                 </el-col>\n' +
        '                                           </el-row>\n' +
        '                                           <el-row>\n' +
        '                                                <el-col >\n' +
        '                                                    <el-form-item label="监管事项子项:" prop="" label-width="140px">\n' +
        '                                                        <el-input v-model="detail.supervisionSubItem"  placeholder="" :disabled="formDisabled"></el-input>\n' +
        '                                                    </el-form-item>\n' +
        '                                                </el-col>\n' +
        '                                            </el-row>\n' +
        '                                           <el-row>\n' +
        '                                                <el-col >\n' +
        '                                                    <el-form-item label="监管对象:" prop="" label-width="140px" >\n' +
        '                                                        <el-input v-model="detail.supervisionObject"  placeholder="" :disabled="formDisabled"></el-input>\n' +
        '                                                    </el-form-item>\n' +
        '                                                </el-col>\n' +
        '                                            </el-row>\n' +
        '                                           <el-row>\n' +
        '                                                <el-col :span="12">\n' +
        '                                                    <el-form-item label="监管形式:" prop="" label-width="140px">\n' +
        '                                                        <el-select v-model="detail.supervisionForm ":disabled="formDisabled" style="width: 100%;"  >\n' +
        '                                                            <el-option\n' +
        '                                                                    v-for="item in supervisionFormList"\n' +
        '                                                                    :key="item.appId"\n' +
        '                                                                    :label="item.dictName"\n' +
        '                                                                    :value="item.dictName"\n' +
        '                                                            ></el-option>\n' +
        '                                                        </el-select>\n' +
        '                                                    </el-form-item>\n' +
        '                                                </el-col>\n' +
        '                                                <el-col :span="12">\n' +
        '                                                    <el-form-item label="监管方式:" prop="" label-width="140px">\n' +
        '                                                        <el-select v-model="detail.supervisionWay" :disabled="formDisabled" style="width: 100%;">\n' +
        '                                                            <el-option\n' +
        '                                                                    v-for="item in supervisionWayList"\n' +
        '                                                                    :key="item.appId"\n' +
        '                                                                    :label="item.dictName"\n' +
        '                                                                    :value="item.dictName"\n' +
        '                                                            ></el-option>\n' +
        '                                                        </el-select>\n' +
        '                                                    </el-form-item>\n' +
        '                                                </el-col>\n' +
        '                                            </el-row>\n' +
        '                                            <el-row>\n' +
        '                                                <el-col >\n' +
        '                                                    <el-form-item label="监管流程:"  prop="" label-width="140px" >\n' +
        '                                                        <el-input\n' +
        '                                                                type="textarea"\n' +
        '                                                                :disabled="formDisabled"\n' +
        '                                                                :autosize="{ minRows: 8, maxRows: 8}"\n' +
        '                                                                placeholder=""\n' +
        '                                                                maxlength="500"\n' +
        '                                                                show-word-limit\n' +
        '                                                                v-model="detail.supervisionProcess">\n' +
        '                                                        </el-input>\n' +
        '                                                    </el-form-item>\n' +
        '                                                </el-col>\n' +
        '                                            </el-row>\n' +
        '                                            <el-row>\n' +
        '                                                <el-col :span="12">\n' +
        '                                                    <el-form-item label="监管结果:" prop="" label-width="140px">\n' +
        '                                                        <el-input v-model="detail.supervisionResult"  placeholder="" :disabled="formDisabled" ></el-input>\n' +
        '                                                    </el-form-item>\n' +
        '                                                </el-col>\n' +
        '                                                <el-col :span="12">\n' +
        '                                                    <el-form-item label="监管层级:" prop="" label-width="140px">\n' +
        '                                                        <el-select v-model="detail.supervisionRank" :disabled="formDisabled" style="width: 100%;">\n' +
        '                                                            <el-option\n' +
        '                                                                    v-for="item in supervisionRankList"\n' +
        '                                                                    :key="item.appId"\n' +
        '                                                                    :label="item.dictName"\n' +
        '                                                                    :value="item.dictName"\n' +
        '                                                            ></el-option>\n' +
        '                                                        </el-select>\n' +
        '                                                    </el-form-item>\n' +
        '                                                </el-col>\n' +
        '                                            </el-row>\n' +
        '                                            <el-row>\n' +
        '                                                <el-col >\n' +
        '                                                    <el-form-item label="设定的依据:"  prop="" label-width="140px" >\n' +
        '                                                        <el-input\n' +
        '                                                                type="textarea"\n' +
        '                                                                :disabled="formDisabled"\n' +
        '                                                                :autosize="{ minRows: 8, maxRows: 8}"\n' +
        '                                                                placeholder=""\n' +
        '                                                                maxlength="500"\n' +
        '                                                                show-word-limit\n' +
        '                                                                v-model="detail.settingBasis">\n' +
        '                                                        </el-input>\n' +
        '                                                    </el-form-item>\n' +
        '                                                </el-col>\n' +
        '                                            </el-row>\n' +
        '                                        </el-form>\n' +
        '                                       </el-col>\n' +
        '                                    </el-row>'


})